﻿using System.Runtime.Serialization;
using Common.Enums;

namespace Common.ServiceResponse
{
    [DataContract]
    public class ResponseDetails
    {
        [DataMember]
        public ResponseStatus ResponseStatus { get; private set; }
        [DataMember]
        public string ResponseStatusDetails { get; private set; }

        public ResponseDetails(ResponseStatus status, string statusDetails)
        {
            ResponseStatus = status;
            ResponseStatusDetails = statusDetails;
        }
    }
}
